Don't unnecessarily reserve space for arrows in RTL mode. (#129075, Semion
authorMatthias Clasen <maclas@gmx.de>
Thu, 11 Dec 2003 22:50:09 +0000 (22:50 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Thu, 11 Dec 2003 22:50:09 +0000 (22:50 +0000)
Thu Dec 11 23:50:30 2003  Matthias Clasen  <maclas@gmx.de>

* gtk/gtknotebook.c (gtk_notebook_pages_allocate): Don't
unnecessarily reserve space for arrows in RTL mode.  (#129075,
Semion Chichelnitsky)

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtknotebook.c

index a7aa59bc9d2961e325201e5d0245e4979ed5a71a..cbab3b1dd52f31549bb75a2cc49056b8424a963f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Thu Dec 11 23:50:30 2003  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtknotebook.c (gtk_notebook_pages_allocate): Don't 
+       unnecessarily reserve space for arrows in RTL mode.  (#129075,
+       Semion Chichelnitsky)
+
 Thu Dec 11 00:35:12 2003  Matthias Clasen  <maclas@gmx.de>
 
        Changes to allow "no input" windows (#64613):
index a7aa59bc9d2961e325201e5d0245e4979ed5a71a..cbab3b1dd52f31549bb75a2cc49056b8424a963f 100644 (file)
@@ -1,3 +1,9 @@
+Thu Dec 11 23:50:30 2003  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtknotebook.c (gtk_notebook_pages_allocate): Don't 
+       unnecessarily reserve space for arrows in RTL mode.  (#129075,
+       Semion Chichelnitsky)
+
 Thu Dec 11 00:35:12 2003  Matthias Clasen  <maclas@gmx.de>
 
        Changes to allow "no input" windows (#64613):
index a7aa59bc9d2961e325201e5d0245e4979ed5a71a..cbab3b1dd52f31549bb75a2cc49056b8424a963f 100644 (file)
@@ -1,3 +1,9 @@
+Thu Dec 11 23:50:30 2003  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtknotebook.c (gtk_notebook_pages_allocate): Don't 
+       unnecessarily reserve space for arrows in RTL mode.  (#129075,
+       Semion Chichelnitsky)
+
 Thu Dec 11 00:35:12 2003  Matthias Clasen  <maclas@gmx.de>
 
        Changes to allow "no input" windows (#64613):
index a7aa59bc9d2961e325201e5d0245e4979ed5a71a..cbab3b1dd52f31549bb75a2cc49056b8424a963f 100644 (file)
@@ -1,3 +1,9 @@
+Thu Dec 11 23:50:30 2003  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtknotebook.c (gtk_notebook_pages_allocate): Don't 
+       unnecessarily reserve space for arrows in RTL mode.  (#129075,
+       Semion Chichelnitsky)
+
 Thu Dec 11 00:35:12 2003  Matthias Clasen  <maclas@gmx.de>
 
        Changes to allow "no input" windows (#64613):
index a7aa59bc9d2961e325201e5d0245e4979ed5a71a..cbab3b1dd52f31549bb75a2cc49056b8424a963f 100644 (file)
@@ -1,3 +1,9 @@
+Thu Dec 11 23:50:30 2003  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtknotebook.c (gtk_notebook_pages_allocate): Don't 
+       unnecessarily reserve space for arrows in RTL mode.  (#129075,
+       Semion Chichelnitsky)
+
 Thu Dec 11 00:35:12 2003  Matthias Clasen  <maclas@gmx.de>
 
        Changes to allow "no input" windows (#64613):
index 49a4d07867cafce1d3936bca44f0c53859f42804..3a1b74ec14da23b08b46df9c8d9753b1e047b147 100644 (file)
@@ -3396,7 +3396,7 @@ gtk_notebook_pages_allocate (GtkNotebook   *notebook)
      {
       child_allocation.x = (allocation->x + allocation->width -
                                container->border_width); 
-      if (notebook->scrollable
+      if (showarrow
        {
          if (notebook->has_after_previous)
            child_allocation.x -= ARROW_SPACING + ARROW_SIZE;